KeyError as a direct cause of exception when i try to insert values where there is None

welcome to shbcf.ru